package com.north.light.libpicselect;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: PicSelParamsBuilder
 * Author: lzt
 * Date: 2022/7/2 9:23
 * 选择参数具体配置builder
 */
public class PicSelParamsBuilder implements Serializable {

    //页面模式：0默认模式（黑色） 1白色
    private int theme = 1;
    //选择视频最大时长,unit s
    private long videoMaxDuration = 60;
    //选择视频最小时长,unit s
    private long videoMinDuration = 0;
    //能选择什么类型的数据，对应LibMediaType：0什么都能选 1图片 2视频 100相对--选了某个类型，其他类型就不能选了
    private int onlySelOneType = 0;
    //视频限制选择个数
    private int videoCountLimit = 1;
    //传入的已选择图片list
    private List<String> selPicList = new ArrayList<>();
    //录屏视频最大长度,unit s
    private int recordVideoMaxDuration = 60;
    //是否进行选择序号提示
    private boolean selectOrder = true;

    public boolean isSelectOrder() {
        return selectOrder;
    }

    public void setSelectOrder(boolean selectOrder) {
        this.selectOrder = selectOrder;
    }

    public int getRecordVideoMaxDuration() {
        return recordVideoMaxDuration;
    }

    public void setRecordVideoMaxDuration(int recordVideoMaxDuration) {
        this.recordVideoMaxDuration = recordVideoMaxDuration;
    }

    public int getVideoCountLimit() {
        return videoCountLimit;
    }

    public void setVideoCountLimit(int videoCountLimit) {
        this.videoCountLimit = videoCountLimit;
    }

    public List<String> getSelPicList() {
        return selPicList;
    }

    public void setSelPicList(List<String> selPicList) {
        this.selPicList = selPicList;
    }

    public int getOnlySelOneType() {
        return onlySelOneType;
    }

    public void setOnlySelOneType(int onlySelOneType) {
        this.onlySelOneType = onlySelOneType;
    }

    public int getTheme() {
        return theme;
    }

    public void setTheme(int theme) {
        this.theme = theme;
    }

    public long getVideoMaxDuration() {
        return videoMaxDuration;
    }

    public void setVideoMaxDuration(long videoMaxDuration) {
        this.videoMaxDuration = videoMaxDuration;
    }

    public long getVideoMinDuration() {
        return videoMinDuration;
    }

    public void setVideoMinDuration(long videoMinDuration) {
        this.videoMinDuration = videoMinDuration;
    }
}
